<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script>
switch (window.location.pathname){
	case '/businfo.php':
		alert('访问的页面已经迁移了。点击确定后带您前往新页面，请您收藏新的地址');
		window.location.href = 'businfo.html#bid=' + getUrlParms('s');
		break;
	case '/line.php':
		alert('访问的页面已经迁移了。点击确定后带您前往新页面，请您收藏新的地址');
		window.location.href = 'line.html#lid=' + getUrlParms('lid');
		break;
	default:
		alert('访问的页面不存在，为您跳转到首页');
		window.location.href = '/';
}
function getUrlParms(name){
	var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
	var r = window.location.search.substr(1).match(reg);
	if(r!=null)
	return unescape(r[2]);
	return null;
}
</script>
